﻿using Domain.Entities.Tenants;

namespace Domain.Entities
{
    public class UserRole : BaseEntity, ITenant
    {
        public virtual User User { get; set; }
        public virtual long UserId { get; set; }
        public virtual Role Role { get; set; }
        public virtual long RoleId { get; set; }
        public virtual Tenant? Tenant { get; set; }
        public virtual string? TenantId { get; set; } = null;
    }
}
